import 'package:flutter/material.dart';

import 'home_content.dart';

class LLHomeScreen extends StatelessWidget {
  const LLHomeScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        // 隐藏返回按钮
        leading: Text(""),
        title: Text("Home"),
      ),
      body: WillPopScope(
        child: LLHomePageContent(),
        onWillPop: () async {
          // 关闭侧滑返回
          return false;
        },
      ),
    );
  }
}
